package com.my.basic.constant;

/**
 * @author marshal
 * @version 2021-06-08
 */
public enum ColorEnum {
    RED(1), BLUE(2), GREEN(3), BLACK(4);

    private final int key;

    ColorEnum(int key) {
        this.key = key;
    }

    public int getKey() {
        return key;
    }
}
